#include "WorkModeMenuTextLocalizationFake.h"

const std::string WorkModeMenuTextLocalizationFake::MENU = "menu";
const std::string WorkModeMenuTextLocalizationFake::INPUT_WELCOME = "INPUT_WELCOME";
const std::string WorkModeMenuTextLocalizationFake::INVALID_SELECTION = "invalid_selection";
const char WorkModeMenuTextLocalizationFake::SELECTION_CHANGE_DESIGNATION = '1';
const char WorkModeMenuTextLocalizationFake::SELECTION_CREATE_NEW = '2';
const char WorkModeMenuTextLocalizationFake::SELECTION_DELETE_TO_TRASH_CAN = '3';
const char WorkModeMenuTextLocalizationFake::SELECTION_EXTRACT_FROM_PACKAGE = '4';
const char WorkModeMenuTextLocalizationFake::SELECTION_IMPORT_FROM_FOX_PRO = '5';
const char WorkModeMenuTextLocalizationFake::SELECTION_IMPORT_FROM_ORACLE = '6';
const char WorkModeMenuTextLocalizationFake::SELECTION_MAKE_COPY = '7';
const char WorkModeMenuTextLocalizationFake::SELECTION_OPEN_EXISTING = '8';
const char WorkModeMenuTextLocalizationFake::SELECTION_QUIT = '9';
const char WorkModeMenuTextLocalizationFake::SELECTION_RESTORE_FROM_TRASH_CAN = '0';

Factory < WorkModeMenuTextLocalizationInterface > WorkModeMenuTextLocalizationFake::factory;

WorkModeMenuTextLocalizationInterfacePtr WorkModeMenuTextLocalizationFake::Spawn ()
{
	return factory.CreateNewObject < WorkModeMenuTextLocalizationFake > ();
}

void WorkModeMenuTextLocalizationFake::CheckInnocence ()
{
	assert ( factory.ObjectsCount () == 0 );
}

std::string WorkModeMenuTextLocalizationFake::Menu ()
{
	return MENU;
}

std::string WorkModeMenuTextLocalizationFake::InputWelcome ()
{
	return INPUT_WELCOME;
}

std::string WorkModeMenuTextLocalizationFake::InvalidSelection ( std::string selection )
{
	return INVALID_SELECTION;
}

char WorkModeMenuTextLocalizationFake::SelectionCreateNew ()
{
	return SELECTION_CREATE_NEW;
}

char WorkModeMenuTextLocalizationFake::SelectionOpenExisting ()
{
	return SELECTION_OPEN_EXISTING;
}

char WorkModeMenuTextLocalizationFake::SelectionChangeDesignation ()
{
	return SELECTION_CHANGE_DESIGNATION;
}

char WorkModeMenuTextLocalizationFake::SelectionMakeCopy ()
{
	return SELECTION_MAKE_COPY;
}

char WorkModeMenuTextLocalizationFake::SelectionQuit ()
{
	return SELECTION_QUIT;
}

char WorkModeMenuTextLocalizationFake::SelectionDeleteToTrashCan ()
{
	return SELECTION_DELETE_TO_TRASH_CAN;
}

char WorkModeMenuTextLocalizationFake::SelectionRestoreFromTrashCan ()
{
	return SELECTION_RESTORE_FROM_TRASH_CAN;
}

char WorkModeMenuTextLocalizationFake::SelectionExtractFromPackage ()
{
	return SELECTION_EXTRACT_FROM_PACKAGE;
}

char WorkModeMenuTextLocalizationFake::SelectionImportFromFoxPro ()
{
	return SELECTION_IMPORT_FROM_FOX_PRO;
}

char WorkModeMenuTextLocalizationFake::SelectionImportFromOracle ()
{
	return SELECTION_IMPORT_FROM_ORACLE;
}
